<template>
	<div class="dashboard-editor-container">
		<!-- <div class=" clearfix">
      <pan-thumb style="float: left" image="/static/images/userhead1.png"> Your roles:
        <span class="pan-info-roles" :key='item' v-for="item in roles">{{item}}</span>
      </pan-thumb>
      <div class="info-container">
        <span class="display_name">{{name}}</span>
        <span style="font-size:20px;padding-top:20px;display:inline-block;">editor : dashboard</span>
      </div>
    </div>
    <div>
      <img class="emptyGif" src="/static/images/oldman.png">
    </div> -->
		<notice-list :isEdit="false" ></notice-list>
	</div>
</template>

<script>
import { mapGetters } from 'vuex'
import PanThumb from '@/components/PanThumb'
import GithubCorner from '@/components/GithubCorner'
import noticeList from '@/views/notices/components/noticeList'

export default {
  name: 'dashboard-editor',
  components: {
    PanThumb,
    GithubCorner,
    noticeList
  },
  data() {
    return {
      // emptyGif: 'assets/401_images/401.gif'
    }
  },
  computed: {
    ...mapGetters(['name', 'avatar', 'roles'])
  }
}
</script>

<style rel="stylesheet/scss" lang="scss" scoped>
.emptyGif {
  display: block;
  width: 45%;
  margin: 0 auto;
}

.dashboard-editor-container {
  background-color: #e3e3e3;
  min-height: 100vh;
  margin-top: -50px;
  padding: 100px 60px 0px;
  .pan-info-roles {
    font-size: 12px;
    font-weight: 700;
    color: #333;
    display: block;
  }
  .info-container {
    position: relative;
    margin-left: 190px;
    height: 150px;
    line-height: 200px;
    .display_name {
      font-size: 48px;
      line-height: 48px;
      color: #212121;
      position: absolute;
      top: 25px;
    }
  }
}
</style>
